/*
* Copyright 2016 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-service-maintain
*
* @File name : SosHelpPO.java
*
* @Author : WangHuicheng
*
* @Date : 2016年12月22日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2016年12月22日    WangHuicheng    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package com.yonyou.gmmc.dealerApp.api.entity;

import java.io.Serializable;
import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
*
* @author WangHuicheng
* TODO description
* @date 2016年12月22日
*/

public class SosHelpPO implements Serializable {
    
    
    private static final long serialVersionUID = -526904517177400449L;
    /**
     * 一键救援主键
     */
    @NotEmpty(message="救援主键(ID)不可为空")
    private String            soshelpId;
    
    /**
     * 用户ID 车主表ID
     */
    private String            carOwnerUserId;
    /**
     * 经销商代码
     */
    private String            dealerCode;
    /**
     * 维度
     */
    private String            longitude;
    /**
     * 经度
     */
    private String            latitude;

    /**
     * 救援发生地
     */
    private String            helpLocal;
    /**
     * 救援时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date            supportDate;
    /**
     * 救援完成时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date            supportFinishDate;

    /**
     * 救援服务员工ID
     */
    private Long              salesConsultantId;
    

    /**
     * 救援状态
     */
    private String            status;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date              createDate;
    /**
     * 创建人
     */
    private Integer           createBy;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date              updateDate;
    /**
     * 更新人
     */
    private Integer           updateBy;
    
    /**
     * 单号
     */
    private String            oddNumber;

    
    /**
     * @return the soshelpId
     */
    public String getSoshelpId() {
        return soshelpId;
    }

    
    /**
     * @param soshelpId the soshelpId to set
     */
    public void setSoshelpId(String soshelpId) {
        this.soshelpId = soshelpId;
    }

    
    /**
     * @return the carOwnerUserId
     */
    public String getCarOwnerUserId() {
        return carOwnerUserId;
    }

    
    /**
     * @param carOwnerUserId the carOwnerUserId to set
     */
    public void setCarOwnerUserId(String carOwnerUserId) {
        this.carOwnerUserId = carOwnerUserId;
    }

    
    /**
     * @return the dealerCode
     */
    public String getDealerCode() {
        return dealerCode;
    }

    
    /**
     * @param dealerCode the dealerCode to set
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    
    /**
     * @return the longitude
     */
    public String getLongitude() {
        return longitude;
    }

    
    /**
     * @param longitude the longitude to set
     */
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    
    /**
     * @return the latitude
     */
    public String getLatitude() {
        return latitude;
    }

    
    /**
     * @param latitude the latitude to set
     */
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    
    /**
     * @return the helpLocal
     */
    public String getHelpLocal() {
        return helpLocal;
    }

    
    /**
     * @param helpLocal the helpLocal to set
     */
    public void setHelpLocal(String helpLocal) {
        this.helpLocal = helpLocal;
    }

    
    /**
     * @return the supportDate
     */
    public Date getSupportDate() {
        return supportDate;
    }

    
    /**
     * @param supportDate the supportDate to set
     */
    public void setSupportDate(Date supportDate) {
        this.supportDate = supportDate;
    }

    
    /**
     * @return the supportFinishDate
     */
    public Date getSupportFinishDate() {
        return supportFinishDate;
    }

    
    /**
     * @param supportFinishDate the supportFinishDate to set
     */
    public void setSupportFinishDate(Date supportFinishDate) {
        this.supportFinishDate = supportFinishDate;
    }

    
    /**
     * @return the salesConsultantId
     */
    public Long getSalesConsultantId() {
        return salesConsultantId;
    }

    
    /**
     * @param salesConsultantId the salesConsultantId to set
     */
    public void setSalesConsultantId(Long salesConsultantId) {
        this.salesConsultantId = salesConsultantId;
    }

    
    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }

    
    /**
     * @param status the status to set
     */
    public void setStatus(String status) {
        this.status = status;
    }

    
    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    
    /**
     * @param createDate the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    
    /**
     * @return the createBy
     */
    public Integer getCreateBy() {
        return createBy;
    }

    
    /**
     * @param createBy the createBy to set
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    
    /**
     * @return the updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    
    /**
     * @param updateDate the updateDate to set
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    
    /**
     * @return the updateBy
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    
    /**
     * @param updateBy the updateBy to set
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    
    /**
     * @return the oddNumber
     */
    public String getOddNumber() {
        return oddNumber;
    }

    
    /**
     * @param oddNumber the oddNumber to set
     */
    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }
    
    
}
